recentCards
Type
property
Summary
Reports the long ID properties of recent cards|recently visited cards.
Syntax
get the recentCards [of <stack>]
Description
Use the recentCards property to find out which cards the user has visited, or to re-visit a card.
The recentCards are listed in reverse order, with the current card at the top of the list, the most recently visited card next, and so on. Each visit to a card causes its ID to be placed at the top of the list, even if the same card appears elsewhere in the list. The recentCards thus provides a complete track of the visitor's navigation.
Cards visited while the lockRecent property is set to true are not added to the list.
Examples
do "go" && line 2 of the recentCards -- equivalent to "go recent 2"
Related
object: card
property: ID
command: unlock recent
glossary: recent cards, property, current card
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile